<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
        //现在的U函数不支持
        echo U('Index/index',array('id' => 'raodaqi', 'name' => 'raodaqi'), 'raodaqi','raodqi');
        $this->display();
    }
    public function item(){
        $this->display();
    }
    public function wanhui(){
        $this->display();
    }
    public function demo(){
    	$this->display();
    }
    public function handle(){
        //这是使用这个方法_404()是需要关闭调试模式的
        // if(!IS_POST) _404('123',U('Index/item'));
         // if(!IS_POST) halt("页面不存在");
        $username = I('content');
        echo $username;
        dump($_POST,1,'<pre>',0);
    }
}